
<h2>An error occurred and we can't respond to your request.</h2>
<br/>
<h3><?php echo $this->message ?></h3>
<br/>

<?php if (in_array(APPLICATION_ENV, array('development', 'local'))): ?>

<h4>Exception information:</h4>
<p>
    <b>Message:</b> <?php echo $this->exception->getMessage() ?>
</p>

<h4>Stack trace:</h4>
<pre><?php echo $this->exception->getTraceAsString() ?>
</pre>

<h4>Request Parameters:</h4>
<pre><?php echo var_export($this->request->getParams(), true) ?>
</pre>
<?php endif ?>
